Repository navigation
Tell the model what counts as checking its work - #100
Merged
Merged
Conversation
Small models call work done after a syntax check. The system prompt now says: run what you changed the way it will be used, reproduce each reported problem before fixing it, check what you can't see (GUIs, web pages, layouts) without a screen, for example with Qt's offscreen platform, a headless browser or a rendered image (view_image when there is one), and never call something tested or done without running it. lcode bench --tasks runtime-bug adds a bug that shows only when the code runs: a camera wall whose window grows with every frame. It isn't in the default set. Closes #93 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 10, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #93.
In the dahua session, the model marked "Test the fix by running the app" as done after only
py_compileand an import. It changed the window's layout several times without seeing it.What changes
QT_QPA_PLATFORM=offscreen, a headless browser, or a script that prints sizes and positions or renders an image. The image part says "you look at with view_image" only when a vision model is available, so the model isn't told about a tool it doesn't have;lcode bench --tasks runtime-bug(lcode.bench_runtime): a camera wall whose window grows with every video frame and can't be made smaller again.find-concept.Measured (qwen3.6-35b, 32K, 12 GB laptop)
runtime-bug, reasoning on, 4 roundsruntime-bug,--no-think, 5 rounds--no-thinklogs)To be honest about it:
runtime-bug; the task is too hard for this model either way.simulate.pyfirst in every finished reasoning-on round. It reported the measured window size instead of claiming success: "stays at a stable size (2304×1031)".🤖 Generated with Claude Code